import { TabItems, TabItemsInfo } from '@/ts/base/model'

const WorkTypeTabs: TabItems[] = [
  {
    id: '1',
    label: TabItemsInfo.commons.label,
    code: TabItemsInfo.commons.code,
    allowEdit: true
  },
  {
    id: '2',
    label: TabItemsInfo.todo.label,
    code: TabItemsInfo.todo.code,
    allowEdit: true,
    default: true
  },
  {
    id: '3',
    label: TabItemsInfo.done.label,
    code: TabItemsInfo.done.code,
    allowEdit: true
  },
  {
    id: '4',
    label: TabItemsInfo.alt.label,
    code: TabItemsInfo.alt.code,
    allowEdit: true
  },
  {
    id: '5',
    label: TabItemsInfo.create.label,
    code: TabItemsInfo.create.code,
    allowEdit: true
  }
]

enum DetailType {
  'INFO',
  'HISTORY'
}

const DetailTabList = [
  {
    id: DetailType.INFO,
    title: '办事详情'
  },
  {
    id: DetailType.HISTORY,
    title: '历史痕迹'
  }
]

const applyList = [
  {
    id: 'apply',
    title:'申请表单'
  },{
    id: 'approval',
    title:'审批流程'
  }
]
export { WorkTypeTabs, DetailType, DetailTabList,applyList }
